package com.bawei.lib_storage.mmkv

import com.bawei.lib_storage.mmkv.utils.MMKVNullableProperty
import com.bawei.lib_storage.mmkv.utils.MMKVOwner
import com.bawei.lib_storage.mmkv.utils.MMKVProperty
import com.tencent.mmkv.MMKV

/**
 *作者：lxy
 *功能:
 *时间：2025/5/25
 */
class UserMMKV:MMKVOwner {

    //  MMKV实例 user文件中
    override val mmkv: MMKV
        get() = MMKV.mmkvWithID("user")

    var userInfo by MMKVProperty("")

    var ifPassword by MMKVProperty(false)

    var focusNumberCache by MMKVProperty(0)

    //是否绑定车辆
    var hasBindVehicle by MMKVProperty(false)
    var hasBindDevice by MMKVProperty(false)
}